.w100{
    width:100%
}
.height{
    width:100%;
}
html,body{
    width:100%;
    height:100%;
}
.contain{
    width:100%;
    height:100%;
    min-width: 320px;
    max-width: 640px;
    margin:0 auto;
    padding-top: 50px;
}
.header{
    position: absolute;
    height:50px;
    background: #ccc;
    top:0;
    width: 100%;
    min-width: 320px;
    max-width: 640px;
    padding: 5px 55px;

}
.bg{
    position: absolute;
    top:0;
    width:49px;
    height:49px;
    padding:14px;
    background:url('../images/jd-sprites.png');
    background-size: 200px 200px;
    background-origin: content-box;
    background-clip: content-box;
}
.back{ 
    left:0;
   
    background-position: -21px 0px;

}

.search{
    /* display: block; */
    /* margin: 0 55px;input元素变成block，也不能用margin自适应 */
    /* height:100%; */
    /* background: red; */
    height:100%;
    width:100%;
    /* padding: 0 55px; */
    border-radius: 10px;
}
.menu{ 
    /* float: right; */
    right:0;

    background-position: -61px 0px;
}
.content{
    /* padding-top: 50px; */
    width:100%;
    height:100%;
    /* background: red; */
}
.content .left{
    width:100px;
    height:100%;
    background: pink;
    float: left;
}
.left {
    overflow: hidden;
}
.left ul {
    position: relative;
    width:100%;
    top:0;
}
.left li a{
    width:100%;
    display: block;
    height:50px;
    line-height:50px;
    text-align: center;
    border: 1px solid #ccc;
    background-color: #eee
}
.left a.active{
     color:red;
     background: #fff;
 }
.content .right{
    /* width:100%; */
    height:100%;
    /* background: skyblue; */
    /* float: right; */
    /* padding-right:100px; */
     margin-left:100px;/*margin与不设width */
     display: flex;
     flex-direction: column;
}

.bannerimg{
    width:100%;
    

}



.right h3{
    width:100%;
    line-height: 25px;
    padding-left:10px;
    border-bottom:1px solid #ccc;
}
.right .product {
    flex :1;
    /* background: pink; */
}
.right .product li{
    width:33.33%;
    float: left;
    text-align: center;
}
.right .product li img {
 width:100%;
}